#ifndef HBB_LEAF_H
#define HBB_LEAF_H

#include <iostream>
#include "src/scene/hbb/tree.h"
#include "src/scene/object.h"

//class Object;

class HBBLeaf : public HBBTree{
	public:
		HBBLeaf(Object * = NULL);
//		HBBLeaf(const Vector3D &_min = Vector3D(0,0,0), const Vector3D &_max = Vector3D(0,0,0), Object *_obj = NULL) : HBBNode(_min, _max), object(_obj) {};
		~HBBLeaf(){};

		Object *getObject() const {return object;};

	private:
         Object *object; //sempre tem um da direita e outro da esquerda ou o proprio nó para o objeto

//		bool isInternal() const {return false;};
};

#endif


